﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Growatt.ShinebusService.Model
{
    public class FirmwareReleaseServerInfoRequest

    {
        /// <summary>
        /// 本次发布的固件包路径
        /// </summary>
        /// 
        public string NewPackagePath { get; set; }

        /// <summary>
        /// 推送服务器地址
        /// </summary>
        public List<string> ServerAddress { get; set; }

        /// <summary>
        /// 中文更新日志
        /// </summary>
        public string ChineseLog { get; set; }

        /// <summary>
        /// 英文更新日志
        /// </summary>
        public string EnglishLog { get; set; }

        /// <summary>
        /// 默认构造函数
        /// </summary>
        public FirmwareReleaseServerInfoRequest()
        {
            NewPackagePath = string.Empty;
            ServerAddress = new List<string>(); // 默认值为0，后续需要确保 >= 1
            ChineseLog = string.Empty;
            EnglishLog = string.Empty;
        }
    }

}
